﻿using System;

namespace Oxage.Simulator
{
	public class ValueChangedEventArgs<T> : EventArgs
	{
		public ValueChangedEventArgs()
		{
		}

		public ValueChangedEventArgs(int index, T oldValue, T newValue)
		{
			this.Index = index;
			this.OldValue = oldValue;
			this.NewValue = newValue;
		}

		public int Index
		{
			get;
			set;
		}

		public T OldValue
		{
			get;
			set;
		}

		public T NewValue
		{
			get;
			set;
		}
	}
}
